body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #3498db;
    color: #fff;
    padding: 1em 0;
    text-align: center;
}

header h1 {
    margin: 0;
}

main {
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

footer {
    width: 100%;
    /* 保持原有其他样式不变 */
}
.container {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    text-align: center;
    min-width: 320px;
}
h2 {
    color: #333;
    margin-bottom: 16px;
}
.form-group {
    margin-bottom: 15px;
}
.form-group input {
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 200px;
    font-size: 16px;
}
button {
    display: inline-block;
    padding: 10px 28px;
    margin: 10px 5px 0 0;
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}
button:hover {
    background: #217dbb;
}

a {
    color: #3498db;
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
}
a:hover {
    text-decoration: underline;
}

error-messages {
    color: #ff0000;
    background-color: #ffebe9;
    padding: 10px;
    border: 1px solid #ff0000;
    margin-bottom: 15px;
    border-radius: 4px;
}
success-message {
    color: #116329;
    background-color: #dafbe1;
    padding: 10px;
    border: 1px solid #116329;
    margin-bottom: 15px;
    border-radius: 4px;
}
footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background-color: #68a3e7;
    color: #fff;
    font-size: 0.9em;
    width: 100%;
}

.password-wrapper {
    position: relative;
    display: inline-block;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #3498db;
}

.form-group input[type="password"],
.form-group input[type="text"] {
    padding-right: 40px;
}

.checkbox-group {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.checkbox-group label {
    margin-left: 8px;
    font-size: 14px;
}